package edu.sctu.zhangwang.month201505.day20150506;

/**
 * Created by user10 on 2015/5/6.
 */
public class Add {

    public int sum;

    public void sum(){

        int i;

        sum = 0;

        for (i=1;i<=100;i++){

            sum = sum + i;

        }

        System.out.print(sum);

    }
}
